﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Employee_Management_System
{
    public partial class LoginForm : Form
    {
        AdminForm formAdmin;
        UserForm formUser;
        
        public LoginForm()
        {
            InitializeComponent();

            bok.Click += new EventHandler(btnok_Click);
        }

        void btnok_Click(object sender, EventArgs e)
        {
            
            
                    //MessageBox.Show("User");
                    formUser = new UserForm(this);
                    this.Hide();
                    formUser.Show();
                
        }



    }
}
